{% block sw_custom_field_type_base_content %}

{% block sw_custom_field_type_select_options %}{% endblock %}

{% block sw_custom_field_type_select_add_option %}{% endblock %}

{% block sw_custom_field_type_select_multi %}{% endblock %}

{% parent() %}

{% block sw_custom_field_type_entity_type %}
<sw-single-select
    v-model:value="currentCustomField.config.entity"
    :disabled="!currentCustomField._isNew || undefined"
    :help-text="$tc('sw-settings-custom-field.customField.detail.helpTextEntitySelect')"
    :label="$tc('sw-settings-custom-field.customField.detail.labelEntityTypeSelect')"
    :options="sortedEntityTypes"
    show-clearable-button
    @update:value="onChangeEntityType"
/>
{% endblock %}

{% block sw_custom_field_type_entity_multi %}{% endblock %}

{% endblock %}
